//import com.atguigu.gmall.ProductApp;
//import com.atguigu.gmall.product.model.SkuInfo;
//import com.atguigu.gmall.product.service.SkuInfoService;
//import com.atguigu.gmall.product.service.impl.SkuInfoServiceImpl;
//import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
//import org.apache.commons.fileupload.MultipartStream;
//import org.junit.jupiter.api.Test;
//import org.junit.runner.RunWith;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.test.context.SpringBootTest;
//import org.springframework.test.annotation.Rollback;
//import org.springframework.test.context.junit4.SpringRunner;
//import org.springframework.transaction.annotation.Transactional;
//
//import javax.annotation.Resource;
//import java.util.List;
//import java.util.Map;
//
//
//@RunWith(SpringRunner.class)
//@SpringBootTest(classes = ProductApp.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
//@Transactional
//@Rollback
//public class Aa {
//    @Resource(name = "com.atguigu.gmall.product.service.SkuInfoService")
//    private SkuInfoService skuInfoService;
//
//    @Test
//    public void lfmldsmf() {
//
//
//        LambdaQueryWrapper<SkuInfo> queryWrapper1 = new LambdaQueryWrapper<>();
//        queryWrapper1.eq(SkuInfo::getSpuId, 12);
//        List<SkuInfo> list = skuInfoService.list(queryWrapper1);
//        for (SkuInfo skuInfo : list) {
//            System.out.println("skuInfo = " + skuInfo);
//        }
//
//    }
//}
